package com.leejxx.common.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * @Author LeeJx
 * @ClassName User
 * @Description TODO
 * @date 2021/2/9 20:03
 * @Version 1.0
 */
@Data
public class User implements Serializable {
    private Integer id;
    private String username;
    private String password;
    private String telephone;
    private Date birthday;
    private String gender;
    private String email;
    private Set<Role> roles = new HashSet<Role>(0);//对应角色集合
}
